<script lang="ts" setup>
import VideoItem from './VideoItem.vue'
import { useConfigStore } from '@renderer/stores'

const { config } = useConfigStore()
</script>

<template>
  <main class="overflow-y-auto h-72">
    <VideoItem v-for="item in config.files" :key="item.path" :video="item"></VideoItem>
    <div v-if="!config.files.length" class="text-xs opacity-80 text-slate-600 text-center">暂无压缩视频</div>
  </main>
</template>

<style scoped lang="scss"></style>
